package com.zjgsu.nftplatform.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ahy231
 * @date 2022/3/6 11:43
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("作品")
public class WorkContent {
    @ApiModelProperty("nft id")
    private String cid;
    @ApiModelProperty("父作品id")
    private List<String> parents;
    @ApiModelProperty("子作品id")
    private List<String> children;
    @ApiModelProperty("作者以太坊账户")
    private String author;
    @ApiModelProperty("ipfs文件名")
    private String fileHash;
}
